import React, { Component } from 'react';

import CustPanel from '../../component/main/CustPanel'
import TopHeader from '../../component/main/TopHeader'
import LeftSidebar from '../../component/main/LeftSidebar'
import Breadcrumb from '../../component/main/Breadcrumb'

export default class AppContainer extends Component {
    constructor(props) {
        super(props);
        this.state = {
            index: 0
        }
    }
    render() {
        return (
            <div>
                <div id="main-wrapper">
                    <TopHeader/>
                    <LeftSidebar/>
                    <div className="page-wrapper">
                        <Breadcrumb/>
                        <div className="container-fluid">
                            {this.props.children}
                        </div>
                        <footer className="footer text-center">
                            区块链版权交易系统@2019～2020
                        </footer>
                    </div>
                </div>
                <CustPanel/>
                <div className="chat-windows"></div>
            </div>
        )
    }
}



